<?php
/**
 *      [迷你云] (C)2009-2012 南京恒为网络科技.
 *   软件仅供研究与学习使用，如需商用，请访问www.miniyun.cn获得授权
 * 
 */
?>
<?php
?>
<script
	type='text/javascript'
	src='<?php echo Yii::app()->request->baseUrl; ?>/statics/javascript/jquery/jquery.js'></script>
<script
	type='text/javascript'
	src='<?php echo Yii::app()->request->baseUrl; ?>/statics/javascript/password-strength-meter.js'></script>
<script
	type='text/javascript'
	src='<?php echo Yii::app()->request->baseUrl; ?>/statics/javascript/user-profile.js'></script>
<script
	type='text/javascript'
	src='<?php echo Yii::app()->request->baseUrl; ?>/statics/javascript/l10n.js'></script>
<tr class="form-field form-required">
	<th scope="row"><?php echo $form->labelEx($model,'password'); ?></th>
	<td><?php echo $form->passwordField($model,'password',array("id"=>"pass1","class"=>"input")); ?></td>
	<?php
	if(isset($passDesc)) {
		?>
	<td><span class="description"><?php echo $passDesc;?></span></td>
	<?php }?>
</tr>
<tr class="form-field">
	<th scope="row"><?php echo $form->labelEx($model,'passwordConfirm'); ?></th>
	<td><?php echo $form->passwordField($model,'passwordConfirm',array("id"=>"pass2","class"=>"input")); ?></td>
	<td></td>
</tr>
<tr>
	<td></td>
	<td>
	<div id="pass-strength-result" style="display: block;">强度评估</div>
	<td>
	<p class="description">提示：您的密码最好至少包含 7 个字符。为了保证密码强度，使用大小写字母，数字和符号，例如 !
	" ? $ % ^ &amp; )。

	</td>
</tr>
<script type='text/javascript'>
/* <![CDATA[ */
var commonL10n = {
	warnDelete: "您将永久删除所选项目。\n 点击“取消”停止，点击“确定”删除。"
};
try{convertEntities(commonL10n);}catch(e){};
var wpAjax = {
	noPerm: "您无权执行此操作。",
	broken: "发生了无法识别的错误。"
};
try{convertEntities(wpAjax);}catch(e){};
var pwsL10n = {
	empty: "强度评估",
	short: "极弱",
	bad: "弱",
	good: "中等",
	strong: "强",
	mismatch: "不匹配"
};
try{convertEntities(pwsL10n);}catch(e){};
/* ]]> */
</script>
